﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace DFGK_WMS.Model.Models
{
    public partial class TInterfaceLog
    {
        /// <summary>
        /// Id主键
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 接口名称
        /// </summary>
        [StringLength(100)]
        public string Name { get; set; }
        /// <summary>
        /// 接口地址
        /// </summary>
        public string Url { get; set; }
        /// <summary>
        /// 请求方式：1-Get;2-Post
        /// </summary>
        public int? CallWay { get; set; }
        /// <summary>
        /// 入参
        /// </summary>
        public string InParam { get; set; }
        /// <summary>
        /// 出参
        /// </summary>
        public string OutParam { get; set; }
        /// <summary>
        /// 状态：0-待执行；1-成功；2-验证失败；3-执行失败
        /// </summary>
        public int? Status { get; set; }
        /// <summary>
        /// 请求耗时毫秒数
        /// </summary>
        public int? CallMillisecond { get; set; }
        /// <summary>
        /// 执行耗时毫秒数
        /// </summary>
        public int? ExecMillisecond { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateDate { get; set; }
        /// <summary>
        /// 执行时间
        /// </summary>
        public DateTime? ExecDate { get; set; }
        /// <summary>
        /// 完成时间
        /// </summary>
        public DateTime? FinishedDate { get; set; }
        /// <summary>
        /// 重复执行次数
        /// </summary>
        public int? ReExecTimes { get; set; }
        /// <summary>
        /// 关联任务Id
        /// </summary>
        public int? RefTaskId { get; set; }
        /// <summary>
        /// 关联指令Id
        /// </summary>
        public int? RefInstructId { get; set; }
        /// <summary>
        /// 错误信息
        /// </summary>
        public string ErrorMsg { get; set; }
        public string ExecBusinessCalss { get; set; }
        public int? LogType { get; set; }
        public int? Direction { get; set; }
        public int? CreateUserId { get; set; }
        public string? CreateUserName { get; set; }
    }
}
